Skip to content

Add --no-<flag> negation for boolean scrape options#38

Merged
paulius-krutkis-dcd merged 1 commit into
mainfrom
no-markdown
Jun 22, 2026
Merged

Add --no-<flag> negation for boolean scrape options#38
paulius-krutkis-dcd merged 1 commit into
mainfrom
no-markdown

Conversation

@paulius-krutkis-dcd

@paulius-krutkis-dcd paulius-krutkis-dcd commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Register --no-<flag> alongside boolean scrape options so users can explicitly disable flags like --markdown
  • Ensures --no-markdown sends markdown: false while omitting the flag preserves schema defaults
  • Bump version to 0.1.9

Test plan

  • Run pnpm test — command-builder tests cover negation flag registration and markdown behavior
  • Run decodo scrape universal https://example.com --no-markdown --verbose and verify the request body includes markdown: false
  • Run the same command without --no-markdown and confirm default markdown behavior is preserved

…flags in command options. Enhance tests to verify the registration of --no-<flag> alongside boolean options and ensure correct behavior for markdown flag handling.
@paulius-krutkis-dcd paulius-krutkis-dcd changed the title Update version to 0.1.9 in package.json and add support for negation … Add --no-<flag> negation for boolean scrape options Jun 22, 2026
@paulius-krutkis-dcd paulius-krutkis-dcd merged commit d9a3002 into main Jun 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants